<?php $this->renderPartial('_appearance_tabs'); ?>
<div class="grid_16">
    <div class="admin-agency form">
		<?php
		$form = $this->beginWidget('CActiveForm', array(
			'id' => 'admin-agency-mls-form',
			'enableAjaxValidation' => false,
			'htmlOptions' => array()
		));
		?>
        <div class="">
            <table class="form-table">
                <tr>
                    <th scope="row" width="160">
						<label>Default Start Page</label>
                    </th>
                    <td>
						<?php 
						echo CHtml::dropDownList('AgencySetting[UserProfile][DefaultStartPage]', $agency->settings['UserProfile']['DefaultStartPage'], array(
							'transaction' => 'Transactions',
							'calendar' => 'Calendar',
							'contact' => 'Contact',
						));
						?>
                    </td>
                </tr>
            </table>
            <table class="form-table">
                <th>
                    <button type="submit" class="link-button round_all no-margin">
                        <span>Save Changes</span>
                    </button>
                </th>
            </table>
        </div>
		<?php $this->endWidget(); ?>
    </div>
</div>